home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 14
/
CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso
/
VistaPro
/
Lyap2DEM.doc
< prev
next >
Wrap
Text File
|
1993-01-31
|
4KB
|
79 lines
Lyap2DEM User Notes
-------------------
String Gadgets
--------------
The program Lyap2DEM is loosely based on the article in Scientific
American, Computer Recreations, for September, 1991. The parameters
'a' and 'b' in the pattern string match the 'a' and 'b' used in
the article. The parameters 'c' through 'z' are my own invention
while I was looking for other interesting patterns.
Seed: The starting number for the iterations. Should be between 0 ... 1.
X Coordinate: The leftmost value used in the iteration window.
Y Coordinate: The bottommost value used in the iteration window.
Width: The difference between the leftmost and rightmost values in
the iteration window.
Mult: The value that a given point is multiplied by to give a reasonable
elevation for the DEM.
Max Elevation: The largest elevation value permitted to occur. Anything
larger is truncated back to this elevation.
Pattern: A series of letters which represent the following functions
used when iterating:
'a': z = (y * z) * (1.0 - z);
'b': z = (x * z) * (1.0 - z);
'c': z = (y * z) * (1.0 - z * z);
'd': z = (x * z) * (1.0 - z * z);
'e': z = (y * z) * (1.0 - sqrt(z));
'f': z = (x * z) * (1.0 - sqrt(z));
'g': z = (y * z) * (1.0 - sin(z));
'h': z = (x * z) * (1.0 - sin(z));
'i': z = (y * z) * (1.0 - cos(z));
'j': z = (x * z) * (1.0 - cos(z));
'k': z = (y * z) * (1.0 - z * z * z);
'l': z = (x * z) * (1.0 - z * z * z);
'm': z = (y * z) * (1.0 - sqrt(z * z * z));
'n': z = (x * z) * (1.0 - sqrt(z * z * z));
'o': z = (y * z) * (1.0 - sin(z * z));
'p': z = (x * z) * (1.0 - sin(z * z));
'q': z = (y * z) * (1.0 - cos(z * z));
'r': z = (x * z) * (1.0 - cos(z * z));
's': z = (y * z) * (1.0 - sin(z * z * z));
't': z = (x * z) * (1.0 - sin(z * z * z));
'u': z = (y * z) * (1.0 - cos(z * z * z));
'v': z = (x * z) * (1.0 - cos(z * z * z));
'w': z = (y * z) * (1.0 - sin(sqrt(z * z * z)));
'x': z = (x * z) * (1.0 - sin(sqrt(z * z * z)));
'y': z = (y * z) * (1.0 - cos(sqrt(z * z * z)));
'z': z = (x * z) * (1.0 - cos(sqrt(z * z * z)));
Iterations: The number of iterations to use each pass. Each letter is
considered one iteration.
DEM Filename: The name of the DEM file that will be saved with the "Save"
function.
DEM Size: The number of data points used for the width and height of
the DEM.
Buttons
-------
258, 514, 1026: Buttons to set the standard widths of commonly used DEM's.
Zoom: Creates a rubber band box for enclosing the area you want to
render in greater detail.
2/: Multiplies the width by 2. Like doubling your distance above the
landscape.
2x: Divides the width by 2. Zoom 2x function.
Save: Save the currently rendered DEM as the filename in DEM Filename.
Go: Start rendering a Lyapunov using the parameters above.
Stop: Stop rendering at the end of the current line.
Linear: Use the iteration values as they come out of the function.
Sqrt: Use the square root of the iteration values.
Log: Use the log of the iteration values.
Invert: Use Max Elevation for the sea level, and decrease elevations
as the iteration values increase.
Horiz: Flip the landscape along the horizontal axis. Requires re-rendering.
Vert: Flip the landscape along the vertical axis. Requires re-rendering.
The Horiz and Vert functions can be used to build mirror DEM's that can
be loaded in as pieces of a larger DEM in VistaPro 2.0.